//
//  SupplierManager.h
//  takeout
//
//  Created by Derekc on 12-2-26.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Supplier.h"

@interface SupplierManager : NSObject{

}
-(NSArray *) getAllSupplierByCategoryId:(NSString *)suppierCategoryId;
-(Supplier *) getSupplierDetailById:(NSString *) supId;
-(NSArray *) getSupplierByUrl:(NSString *)URIString;
-(NSArray *) getSupplier:(NSString *)suppierCategoryId pageIndex:(NSInteger) pageIndex road:(NSString *) road isSelling:(NSString *) isSelling;
-(NSArray *)getAllSupplier;
-(NSArray *) search:(NSString *)searchText pageIndex:(NSInteger) pageIndex;
//-(NSString *)getNumCount:(NSInteger)supId;
@property (strong, nonatomic) Supplier *tempSupplier;
@property (strong, nonatomic) NSMutableArray *result;
@end
